﻿function Rent_Search(change_value,change_type)
{
		
	if(change_type=="1")		
	{
		document.form_search.city.value=change_value;
		document.form_search.submit();
	}
	if(change_type=="2")		
	{
		document.form_search.area.value=change_value;
		document.form_search.submit();
	}
	if(change_type=="3")		
	{
		document.form_search.rent_price.value=change_value;
		document.form_search.submit();
	}
	if(change_type=="4")		
	{
		document.form_search.room_type.value=change_value;
		document.form_search.submit();
	}

}
function Realestate_Search(change_value,change_type)
{
		
	if(change_type=="1")		
	{
		document.form_search.city.value=change_value;
		document.form_search.submit();
	}
	if(change_type=="2")		
	{
		document.form_search.avg_price.value=change_value;
		document.form_search.submit();
	}
	if(change_type=="3")		
	{
		document.form_search.room_status.value=change_value;
		document.form_search.submit();
	}

}



